<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
<meta http-equiv="expires" content="Wed,26 Feb 1997 08:21:57 GMT" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description" content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords" content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>新用户注册</title>

<!-- Bootstrap -->
<link href="./admin/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

</head>
<body>

	<div class="container">

		<div class="row">
			<div class="col-sm-4">
			
			</div>

			<div class="col-sm-4">
					
				<div class="page-header" style="margin-top: 50px;">
					<h3>
						新用户注册 <small class="badge">${message}</small>
					</h3>
					<p class="bg-danger" id="msg">${msg}</p>
				</div>


				<!-- <form  data-ng-submit="submit()" data-ng-controller="FormSubmitController"> -->
				<form class="form-horizontal" name="register" action="bregister" method="post" onsubmit="return check()">

					<div class="form-group">
						<div class="col-sm-12">
						<div class="input-group">
      						<div class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i> </div>
							<input type="text" class="form-control"
								id="inputUsername" name="username" placeholder="手机号/电子邮件">
							</div>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-12">
						<div class="input-group">
      						<div class="input-group-addon"><i class="glyphicon glyphicon-certificate"></i> </div>
							<input type="password" required class="form-control" id="inputPassword" placeholder="创建密码">
							<input type="hidden" class="form-control" id="inputPasswordmd5" name="password" placeholder="登录密码">
							</div>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-12">
						<div class="input-group">
      						<div class="input-group-addon"><i class="glyphicon glyphicon-certificate"></i> </div>
							<input type="password" required class="form-control" onchange="confirmPwd()"
								id="inputPasswordConfirm" name="passwordConfirm" placeholder="再次输入密码">
							</div>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-7" style="padding-right:0px;">
						<div class="input-group">
      						<div class="input-group-addon"><i class="glyphicon glyphicon-barcode"></i> </div>
							<input type="text" class="form-control" id="inputPcode" name="pcode" placeholder="填写右图显示的验证码">
						</div>
						</div>
						<div class="col-sm-5">
						<div class="input-group">
							<a href="javascript:changeImg()" class="pull-right" title="点击换一张">
								<img id="imgObj" alt="验证码" src="pcode" />
							</a> 
						</div>
						</div>
					</div>
					<div class="form-group ">
						<div class="col-sm-7" style="padding-right:0px;">
						<div class="input-group">
      						<div class="input-group-addon"><i class="glyphicon glyphicon-barcode"></i> </div>
							<input type="text" required class="form-control" id="inputValidcode" name="validcode" placeholder="填写收到的动态验证码">
  						</div>
						</div>
						<div class="col-sm-5">
							<input type="button" onclick="getValidCode()" class="btn btn-success" id="vcode" value="获取验证码"/>
						</div>
					</div>

				
					<div class="form-group">
						<div class="col-sm-12">
							<button id="registeButton" class="btn btn-primary btn-block">免费注册</button>
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-12">
							<a href="blogin">已有帐号？去登录</a>
							<a href="bvogin" class="pull-right">忘记密码？</a>
						</div>
					</div>
				


				</form>
				
				
				
				
			</div>
		</div>

	</div>
	<script src="./admin/lib/md5.js"></script>

	<script src="./admin/lib/jquery/jquery-2.1.4.min.js"></script>
	<script src="./admin/lib/bootstrap/js/bootstrap.min.js"></script>
	
	<script type="text/javascript" src="./admin/js/authen/register.js"></script>
	


</body>
</html>